package top.zywork.service.impl;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;
import top.zywork.dao.CourierExtractingDAO;
import top.zywork.dos.CourierExtractingDO;
import top.zywork.dto.CourierExtractingDTO;
import top.zywork.service.AbstractBaseService;
import top.zywork.service.CourierExtractingService;

import javax.annotation.PostConstruct;

/**
 * CourierExtractingServiceImpl服务接口实现类<br/>
 *
 * 创建于2020-10-27<br/>
 *
 * @author http://ljyanimo.com 刘金泳
 * @version 1.0
 */
@Service(value = "courierExtractingService")
public class CourierExtractingServiceImpl extends AbstractBaseService implements CourierExtractingService {

    private CourierExtractingDAO courierExtractingDAO;

    @Autowired
    public void setCourierExtractingDAO(CourierExtractingDAO courierExtractingDAO) {
        super.setBaseDAO(courierExtractingDAO);
        this.courierExtractingDAO = courierExtractingDAO;
    }

    @PostConstruct
    public void init() {
        super.init(CourierExtractingDO.class, CourierExtractingDTO.class);
    }
}